package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.SaveTeachPlanDto;
import com.xuecheng.content.model.dto.TeachPlanDto;

import java.util.List;

public interface TeachPlanService {
    /**
     * 课程计划查询
     */
    public List<TeachPlanDto> selectTreeNodes(Long courseId);

    /**
     * 课程计划新增和修改和保存
     * @param saveTeachPlanDto
     */
    public void saveTeachPlan(SaveTeachPlanDto saveTeachPlanDto);

    /**
     * 课程计划删除
     * @param id
     * @return
     */
    boolean deleteTeachPlan(Long id);

    /**
     * 章节位置移动
     * @param move
     * @param id
     */
    void moveTeachPlan(String move, Long id);
}
